package br.com.wagnerpaz.battlemaniacs.model;


public enum Attribute
{
	HP,
	MP,
	ATK,
	DEF,
	TNC,
	AGL,
	INT,
	LCK;

	public static Attribute getByName(String name)
	{
		for(Attribute att : Attribute.class.getEnumConstants())
		{
			if(att.name().equals(name))
			{
				return att;
			}
		}
		return null;
	}
}
